package com.example.huangziwei.myapplication;

import android.animation.AnimatorSet;
import android.content.Context;
import android.graphics.Matrix;
import android.support.v4.widget.ViewDragHelper;
import android.util.AttributeSet;
import android.widget.ListView;

/**
 * Created by huangziwei on 16-4-26.
 */
public class TestListView extends ListView {

    public TestListView(Context context) {
        this(context, null, 0);
    }

    public TestListView(Context context, AttributeSet attrs) {
        this(context, attrs, 0);
    }

    public TestListView(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
    }

    protected boolean overScrollBy(int deltaX, int deltaY,
                                   int scrollX, int scrollY,
                                   int scrollRangeX, int scrollRangeY,
                                   int maxOverScrollX, int maxOverScrollY,
                                   boolean isTouchEvent) {
        return  super.overScrollBy(deltaX, deltaY, scrollX, scrollY, scrollRangeX, scrollRangeY,
                maxOverScrollX, 200, isTouchEvent);
    }


}
